package com.huike.report.service;

import com.huike.clues.domain.TbClue;
import com.huike.common.core.page.TableDataInfo;
import com.huike.report.domain.dto.PageParamsDTO;
import com.huike.report.domain.vo.ClueStatisticsListVO;
import com.huike.report.domain.vo.LineChartVo;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @Description CluesStatisticsService
 * @Author moweihua
 * @Date 2023-10-2023/10/17
 */
public interface CluesStatisticsService {
    /**
     *线索统计新增线索数量报表
     * @param beginCreateTime
     * @param endCreateTime
     * @return
     */
    LineChartVo cluesStatistics(LocalDate beginCreateTime, LocalDate endCreateTime);

    /**
     * 线索统计明细列表
     * @param pageParamsDTO
     * @return
     */
    TableDataInfo<List<ClueStatisticsListVO>> pageList(PageParamsDTO pageParamsDTO);

    /**
     * 线索统计线索转换率报表
     * @param beginCreateTime
     * @param endCreateTime
     * @return
     */
    Map<String, Integer> getVulnerabilityMap(LocalDate beginCreateTime, LocalDate endCreateTime);
}
